import com.net.util.ListUtil;
import junit.framework.TestCase;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;  
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestExecutionListeners;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;

import java.util.List;
import java.util.Map;

/**
 * Created by zhang yufei on 2017/11/24.
 */
//使用标准的JUnit @RunWith注释来告诉JUnit使用Spring TestRunner
@RunWith(SpringJUnit4ClassRunner.class)
//指定bean注入的配置文件  
//@ContextConfiguration(locations = { "classpath:application.xml","classpath:redis.xml"})
//@TestExecutionListeners( { DependencyInjectionTestExecutionListener.class })
//@ContextConfiguration(locations = "classpath:*.xml")
//@ContextConfiguration(locations="classpath:*.xml")
@ContextConfiguration(locations = {"classpath:application.xml","classpath:mybatis-config.xml","classpath:redis.xml","classpath:spring-jdbc.xml"})
public class SpringTestCase{
    protected Logger logger = LoggerFactory.getLogger(getClass());

    /*@Autowired
    public ApplicationContext ctx;*/


}  